package com.xy.lang.enums;

/**
 * 应用状态
 */
public enum ApplyStatusEnum implements CodeEnum {

    DRAFT(0, "存盘"),
    START(1, "启用"),
    STOP(2, "停用");

    private int code;
    private String name;

    ApplyStatusEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }

    @Override
    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }

}
